package com.softtown.modules.dapai.dao;

import com.softtown.common.dao.BaseDao;
import com.softtown.modules.dapai.entity.*;
import com.softtown.modules.dapai.vo.CompCustomerPotentialByContactVO;
import com.softtown.modules.dapai.vo.CustomerContactsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CompCustomerPotentialDao extends BaseDao<CompCustomerPotentialEntity> {

    List<CompCustomerPotentialEntity> getPotentialPageList(@Param("compId")Long compId,@Param("pram") String pram );

    List<CompCustomerPotentialByContactVO>  getPotentialContactList(@Param("compId")Long compId, @Param("pram") String pram );

    CompCustomerPotentialEntity getPotentialById(@Param("compId")Long compId,@Param("id") Long id );

}
